﻿@using Fyp.Models;
@{
    Layout = "~/Shared/_layoutPage.cshtml";
    var PageTitle = "Project Requests";
   
}
@section title
{
 @PageTitle
}

<html lang="en">
<head>
<title></title>
    <link rel="stylesheet" type="text/css" href="~/Styles/template.css" media="screen">
    <style>
        #a1{margin-left:400px;
            margin-top:10px;
        } 
        
         #lb{margin-left:100px;
            
        } 
          
    </style>
</head>
<body>
    <link rel="stylesheet" type="text/css" href="~/Styles/template.css" media="screen">
<script>
   
   
</script>
     <strong>
            <div id="content" style="margin-left: 98px;margin-bottom: -1px;">
                 <h2 style="text-align: center;">Project Requests</h2>                
             </div>
    </strong>
    <div id="main" class="background">
    <div id="lb">
        
        <form action="RequestList" method="post" >
       
                <select name="GroupField" style="margin-top:80px;margin-left:-670px">
    <option>-Select-</option>
   @for (int i = 0; i <global.pplist.Count();i++ )
   { 
       
       <option value ="@global.pplist[i].GId">@global.pplist[i].GId</option>
   }
  </select>
   @* <option>-Select-</option>
   @for (int i = 0; i < global.reqList.Count();i++ )
   { 
       
       <option value ="@global.reqList[i].Title">@global.reqList[i].Title</option>
   }
  </select>*@
        <input type="Submit" class = "buttonSave" value="ShowStudents">
           </form>
         <form action="RequestList" method="get">
               
<table>
<tbody>
    
     
   <tr>
       <td>Group id is:@ViewBag.id </td></tr>
       <tr> <td>Project Title is:@ViewBag.PTitle</td>
             <tr> <td>Project Advisor is:@ViewBag.Advisor </td>
@*                <tr> <td>  <input type="text" name= "Status" class ="clear" value = @ViewBag.status></td></tr>*@
                  <tr> <td>@Html.ActionLink("ShowStudents", "ShowStudents") </td></tr>
         
   <tr><td>Project status is :@ViewBag.status</td>
       
   </tr>
   
<tr>
   </tbody>
    </table>
             </form>
           <form action="/ReserveProject/SubmitChanges" method="post">
             <label>change status into reserved </label>
             <input type="checkbox" value="Status" id="chk_stats" name="chk_stats"/>
                <br/>
              <input type="submit" class = "buttonSave" value="SubmitChanges" />
             </form>

        </div>
        </div>
       </body>
</html>